package com.test.znb.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by lenovo on 2018-4-27.
 */
@Controller
public class MenuController {

    @RequestMapping("/main")
    public String index(Model map) {
        map.addAttribute("host", "http://www.qq.com");
        return "html/index";
    }
}
